package com.stormrage.entity.exam.rep;

import java.io.Serializable;
import java.util.List;

public class ExmCountRep implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = -2503413114142951732L;

	// ------------------------------- Fields -------------------------------

	private Integer sele;

	private Integer mult;

	private Integer corr;

	private Integer total;

	private List<ExmExamCountRep> list;

	// ------------------------------- Fields -------------------------------

	public ExmCountRep() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getSele() {
		return sele;
	}

	public void setSele(Integer sele) {
		this.sele = sele;
	}

	public Integer getMult() {
		return mult;
	}

	public void setMult(Integer mult) {
		this.mult = mult;
	}

	public Integer getCorr() {
		return corr;
	}

	public void setCorr(Integer corr) {
		this.corr = corr;
	}

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	public List<ExmExamCountRep> getList() {
		return list;
	}

	public void setList(List<ExmExamCountRep> list) {
		this.list = list;
	}

	// ------------------------------- Fields -------------------------------

	public static ExmCountRep instance(Integer sele, Integer mult, Integer corr, Integer total,
			List<ExmExamCountRep> list) {
		ExmCountRep entity = new ExmCountRep();
		entity.setSele(sele);
		entity.setMult(mult);
		entity.setCorr(corr);
		entity.setTotal(total);
		entity.setList(list);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : sele - " + sele + " mult - " + mult + " corr - " + corr + " total - " + total
				+ " list - " + list;
	}

}
